/*
 * Created on Jan 5, 2004
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package com.unash.z3950.pdu;

import java.io.ByteArrayInputStream;
import java.io.InputStream;

/**
 * @author Ashwini Gokhale
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public interface Z3950Decoder {
	public Request decodeRequest(InputStream bs) throws Exception;
	public InitRequest decodeInitRequest(ByteArrayInputStream bs)throws Exception;
	public SearchRequest decodeSearchRequest(ByteArrayInputStream bs) throws Exception;
	public PresentRequest decodePresentRequest(ByteArrayInputStream bs) throws Exception;
}//Z3950Decoder